home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
sputls.zip
/
DTEXT.DOC
< prev
next >
Wrap
Text File
|
1991-01-06
|
3KB
|
76 lines
Display Text version 1.0 (C) SPETER SOFTWARE, January 1991.
This program will display a text string (using the specified text attribute).
The program was written in Borland's Turbo Pascal 5.5
Usage:
------
1: DTEXT [/h]
Output a help screen.
/h (optional)
2: DTEXT [/n<char>] [/q] x y attr message
Display "message" starting at (x,y);
/n<char> (optional) sets the separator used to mark a new-line;
/q (optional) causes quote marks at the beginning and end
of the message to NOT be deleted;
x top-left (column) of box, in the range [1..80];
y top-left (line) of box, in the range [1..25];
attr character attribute [1..255], see SHOWATTR.EXE;
message a string of text (NOT including ANSI escape
sequences); the character ! is used to force
a new-line in the message. (/n can be used to
re-define the new-line char).
NOTE: The length of the command line tail is limited to 127
characters; therefore the message string has a limit of
about 110 chars.
Examples:
---------
1: DText /n$ 40 3 23 Press any key to continue$ or ESC to abort!
/n$ re-defines the new-line character from "!" to "$"
40 3 place the top-left of the box at column 42 of line 3
23 text attribute (white on blue)
Press.. the message
Result:
1
2 <-screen line
3 (40,3)-->Press any key to continue
4 or ESC to abort!
2: DText 40 3 23 " Press!any key to continue! or ESC to abort"
40 3 place the top-left of the box at column 42 of line 3
NOTE: because /s2 was specified the corner is moved 2.
23 text attribute (white on blue)
"..." the quotes are used to indent the first line of the message
Result:
1
2 <-screen line
3 (40,3)--> Press
4 any key to continue
5 or ESC to abort
Correspondence:
---------------
Please address any comments to:
Stephen Peter
INTERNET:
steve@cad0.arch.unsw.oz.au
POST:
SPETER SOFTWARE
P.O. BOX 643
LANE COVE
NSW 2066
AUSTRALIA